package com.sangeng.ss.service.impl;

import com.sangeng.ss.domain.DogEvent;
import com.sangeng.ss.service.TestEvent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * @author ：xxx
 * @description：TODO
 * @date ：2024/04/01 16:05
 */
@Service
@Primary
@Slf4j
public class TestEventImpl1 implements TestEvent {
    @Override
    public void listenerEvent1(DogEvent dogEvent) {
        log.info(dogEvent.getSource() + "1111111的平方");
    }


    @Override
    public void listenerEvent(DogEvent dogEvent) {
        log.info(dogEvent.getSource()+"平方");
    }


}
